import { createRouter, createWebHistory } from 'vue-router'
//import BookAdd from '../App.vue'
import AddLocation from '../views/AddLocation.vue'

const routes = [
  {
    path: '/locations/add',
    name: 'AddLocation',
    component: AddLocation
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router